package com.github.wxiaoqi.security.biz.modules.pay.task;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.github.wxiaoqi.security.biz.modules.pay.biz.CmsPayOrderBiz;

/**
 * 支付订单定时任务
 *
 *
 */
@Component("payOrderTask")
public class CmsPayOrderTask {
	
	private Logger logger = LoggerFactory.getLogger(getClass());
	
	@Autowired
	private CmsPayOrderBiz cmsPayOrderBiz;
	
	/**
	 * 支付订单定时任务
	 */
	public void cmsPayOrderTask(){
		logger.info("定时修改支付订单过期状态任务执行");
		cmsPayOrderBiz.updateVerifyStatus();
		logger.info("定时修改支付订单过期状态任务完成");
	}
}
